//
//  ProductObject.m
//  AppMua4
//
//  Created by duong nguyen on 8/30/12.
//  Copyright (c) 2012 uit. All rights reserved.
//

#import "ProductObject.h"

@implementation ProductObject
@synthesize productName,productImage,productPrice,productSummary,shopId,userId,categoryId,shop,isSearching,productId,productDescription;

-(id)init{
    [super init];
    self.shop=[[ShopObject alloc]init];
    self.productImage=[[NSString alloc]init];
    self.productName=[[NSString alloc]init];
    self.productPrice=[[NSString alloc]init];
    self.productSummary=[[NSString alloc]init];
    self.productDescription=[[NSString alloc]init];
    isSearching=NO;
    return self;
}

-(void) dealloc{
    [productDescription release];
    [productName release];
    [productImage release];
    [productPrice release];
    [productSummary release];
    [shop release];
    [super dealloc];
}

@end
